Change the way that networks and PIFs relate to each other -- the PIF holds a
authorEwan Mellor <ewan@xensource.com>
Mon, 25 Dec 2006 16:26:51 +0000 (16:26 +0000)
committerEwan Mellor <ewan@xensource.com>
Mon, 25 Dec 2006 16:26:51 +0000 (16:26 +0000)
commitd33afed19dbc9d57528c328108e9d23d88d6bbbd
treeb7e60e87c878f9f780e5df16c987c7edd2bb99a6
parentc1a482bad3501e6712843c5bf239a2e9db1368b6
Change the way that networks and PIFs relate to each other -- the PIF holds a
reference to the network (and the host) not the other way around.  Persist only
the necessary details for the network (not the set of PIFs and VIFs).

Fix the plumbing of the network class inside XendAPI, and implement a few more
functions.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendAPI.py
tools/python/xen/xend/XendNetwork.py
tools/python/xen/xend/XendNode.py
tools/python/xen/xend/XendPIF.py